package com.sysd.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @description:
 * @author: bsh
 * @date: 2025/5/30 10:58
 */
@Getter
@AllArgsConstructor
public enum CodeMsg {
    SUCCESS(0, ""),
    DEFAULT(-1, ""),
    LOGIN_ERROR(500101, "登入失败!"),
    REGISTER_ERROR(500102, "注册失败!"),
    FLUSH_ERROR(500103, "刷新失败!"),
    UPDATE_ERROR(500104, "修改失败!"),
    REMOVE_ERROR(500105, "删除失败!"),

    ;
    private final int code;
    private final String msg;

}
